require "net/http"
require "json"
uri=URI.parse("https://yiketianqi.com/api?unescape=1&version=v6&appid=46245721&appsecret=sKA9gzik")
response = Net::HTTP.get_response(uri)
data=JSON.parse(response.body)
puts data["city"]+"今日天气预报:今天是:"+data["date"]+","+data["week"]+",天气情况为"+data["wea"]